<script lang="ts">
import { defineComponent,ref } from 'vue'
import router from "@router/index.js"  // 引入router

export default defineComponent({
  setup() {
    //获取url参数
    console.log(router.currentRoute.value.query.name);
    console.log(router.currentRoute.value.query.id);
    return {
      
    };
  },
});
</script>
<template>
    这里是关于
</template>